<template>
  <div class="container">
    <div class="sticky-menu">
      <subMenu></subMenu>
    </div>
    <div class="main">
      <router-view></router-view>
    </div>
  </div>
</template>

<script setup>
import subMenu from '@/views/home/component/menu.vue'
</script>

<style scoped>
.main {
  height: 100%;
  background-color: #f0f2f5;
}
.sticky-menu {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
</style>
